home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
conf400.zip
/
RENUM.DOC
< prev
next >
Wrap
Text File
|
1988-07-21
|
3KB
|
75 lines
RENUM - Revision: 4.10 by Bob Hartman, FidoNet Node 1:132/101
Copyright 1985-88 Spark Software, Inc. All rights reserved.
*************************************************************************
* NOTE: This version of RENUM uses very low level DOS calls. As a *
* result, it may not run on some systems. In particular, LAN, *
* multi-tasking, or caching software has been found to be troublesome *
* depending upon the particular configuration. Before using RENUM on *
* an unattended basis, it is HIGHLY recommended that a complete system *
* backup be made and the results of the RENUM commands checked very *
* closely. Since such low level code is being used, if RENUM screws *
* up, it will probably take the entire disk with it. Bob Hartman *
* and Spark Software take no responsibility if this program does *
* anything nasty. You use it at your own risk. It has been tested *
* successfully on many systems, but that in no way means it will run on *
* your system. *
*************************************************************************
This version of RENUM is optimized for use on Echomail areas, and
areas that are more or less contiguous before it is run. It sometimes
is not as fast as old versions of RENUM when just doing message base
renumbering, but it is much faster when killing messages as well as
renumbering them with one command. The command line is as follows
(note, it is different from previous versions of RENUM):
RENUM [-D days] [-N save1 save2] [-K] [-S] [-R] directory
-D Kill by days:
days is the number of days of messages to save.
-N Kill by number:
save1 is the number of messages to skip before killing.
save2 is the number of messages that should exist after save1
messages are saved.
-K Kill received messages
-S Kill sent messages
-R Renumber messages
directory:
Name of directory to renumber. If specified as a number, the
SYSTEMxx.BBS file is used to get the directory name. This
will also trigger the renumbering of the user list (if it
exists in the current directory).
This version of RENUM is not very fast when dealing with message
bases with large holes in them, but echomail is not normally that
way. It is optimized for having as many of the options as are
necessary on one command line. Only one directory can be renumbered
with each invocation (again, a difference from earlier versions of
RENUM).
Some examples:
RENUM -D 10 -N 1 100 -R C:\Msgs\Tech
This will first kill messages older than 10 days, then save
1.MSG and kill messages until there are 100 left after 1.MSG.
Finally, the message base will be renumbered.
RENUM -K -D 10 -N 0 50 -R 2
In area 2, kill received messages, kill messages more than 10
days old, only save 50 after that, and then renumber the
messages (and because an area number was specified, update
the user.bbs file).
This version of RENUM is able to handle messages numbered up to 2048
in any directory. Beyond that, the program will give unpredictable
results.
For version 4.10 I would like to thank Greg Dawson for an excellent
suggestion which significantly increased the speed of message
deletion.